package cn.com.b2office.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangtaoupc@gmail.com
 * @hibernate.class table="bi_t_item_info" lazy="false"
 * @hibernate.cache usage="transactional"
 */
public class Item implements Serializable {

	private static final long serialVersionUID = -2276594311876129914L;

	/** ��Ʒ���� */
	private String item_no = null;

	/** ������ */
	private String item_clsno = null;

	/** Ʒ�Ʊ��� */
	private String item_brand = null;

	/** ��Ʒ��� */
	private String titles = null;

	/** �г��� */
	private Double marketprice = 0.0;

	/** �̼Ҽ� */
	private Double b2hprice = 0.0;

	/** ��λ */
	private String unit_no = null;

	/** ����Сʱ */
	private int deliverday = 0;

	/** �Ƿ񷢲���Ʒ */
	private int published = 0;

	/** ��Ʒ���� */
	private String comments = null;

	/** ����� */
	private double point_rate = 1.0;

	/** �ϼ�ʱ�� */
	private Date showtime = null;

	/** ���״�� */
	private int inventstate = 0;

	/** ����޸�ʱ�� */
	private Date lastime = null;

	/** 是否启用新订购单位 0不用； 1启用 （用于生鲜） */
	private int usenewunit = 0;

	/** �¶�����λ */
	private String newunit = null;

	/** �Ƿ���״����С���� 0���ã�1�� */
	private int useshape = 0;

	/** ��״���Լ�ض��ٽ� */
	private float bigqty = 0;

	/** ��״�и�Լ�ض��ٽ� */
	private float midqty = 0;

	/** ��״С��Լ�ض��ٽ� */
	private float smlqty = 0;

	/** * �Ƿ���Ҫ���أ�0 �� 1 �ǣ� */
	private int needweigh = 0;

	/** �ۿ��� Ĭ��ֵΪ1.0�������ۣ� */
	private float discountRate = 1;

	/** Ĭ������Ȩ�� */
	private int defaultSort = 0;

	/**
	 * �ۿ��� Ĭ��ֵΪ1.0
	 * 
	 * @return discountRate
	 * @hibernate.property column="offrate" type="java.lang.Float"
	 */
	public float getDiscountRate() {
		return discountRate;
	}

	public void setDiscountRate(float discountRate) {
		this.discountRate = discountRate;
	}

	/**
	 * 
	 * @return needweigh
	 * @hibernate.property column="needweigh" type="java.lang.Integer"
	 */
	public int getNeedweigh() {
		return needweigh;
	}

	public void setNeedweigh(int needweigh) {
		this.needweigh = needweigh;
	}

	/**
	 * 
	 * @return comments
	 * @hibernate.property column="comments" type="java.lang.String"
	 */
	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	/**
	 * 
	 * @return deliverday
	 * @hibernate.property column="deliverday" type="java.lang.Integer"
	 */
	public int getDeliverday() {
		return deliverday;
	}

	public void setDeliverday(int deliverday) {
		this.deliverday = deliverday;
	}

	/**
	 * 
	 * @return item_brand
	 * @hibernate.property column="item_brand" type="java.lang.String"
	 */
	public String getItem_brand() {
		return item_brand;
	}

	public void setItem_brand(String item_brand) {
		this.item_brand = item_brand;
	}

	/**
	 * 
	 * @return item_clsno
	 * @hibernate.property column="item_clsno" type="java.lang.String"
	 */
	public String getItem_clsno() {
		return item_clsno;
	}

	public void setItem_clsno(String item_clsno) {
		this.item_clsno = item_clsno;
	}

	/**
	 * @return return the idno
	 * @hibernate.id column="item_no" generator-class="assigned"
	 */
	public String getItem_no() {
		return item_no;
	}

	public void setItem_no(String item_no) {
		this.item_no = item_no;
	}

	/**
	 * 
	 * @return
	 * @hibernate.property column="lastime" type="timestamp"
	 */
	public Date getLastime() {
		return lastime;
	}

	public void setLastime(Date lastime) {
		this.lastime = lastime;
	}

	/**
	 * 
	 * @return point_rate
	 * @hibernate.property column="point_rate" type="java.lang.Double"
	 */
	public double getPoint_rate() {
		return point_rate;
	}

	public void setPoint_rate(double point_rate) {
		this.point_rate = point_rate;
	}

	/**
	 * 
	 * @return published
	 * @hibernate.property column="published" type="java.lang.Integer"
	 */
	public int getPublished() {
		return published;
	}

	public void setPublished(int published) {
		this.published = published;
	}

	/**
	 * 
	 * @return showtime
	 * @hibernate.property column="showtime" type="timestamp"
	 */
	public Date getShowtime() {
		return showtime;
	}

	public void setShowtime(Date showtime) {
		this.showtime = showtime;
	}

	/**
	 * 
	 * @return titles
	 * @hibernate.property column="titles" type="java.lang.String"
	 */
	public String getTitles() {
		return titles;
	}

	public void setTitles(String titles) {
		this.titles = titles;
	}

	/**
	 * 
	 * @return b2hprice
	 * @hibernate.property column="b2hprice" type="java.lang.Double"
	 */
	public Double getB2hprice() {
		return b2hprice;
	}

	public void setB2hprice(Double b2hprice) {
		this.b2hprice = b2hprice;
	}

	/**
	 * 
	 * @return inventstate
	 * @hibernate.property column="inventstate" type="java.lang.Integer"
	 */
	public int getInventstate() {
		return inventstate;
	}

	public void setInventstate(int inventstate) {
		this.inventstate = inventstate;
	}

	/**
	 * 
	 * @return marketprice
	 * @hibernate.property column="marketprice" type="java.lang.Double"
	 */
	public Double getMarketprice() {
		return marketprice;
	}

	public void setMarketprice(Double marketprice) {
		this.marketprice = marketprice;
	}

	/**
	 * 
	 * @return unit_no
	 * @hibernate.property column="unit_no" type="java.lang.String"
	 */
	public String getUnit_no() {
		return unit_no;
	}

	public void setUnit_no(String unit_no) {
		this.unit_no = unit_no;
	}

	/**
	 * 
	 * @return bigqty
	 * @hibernate.property column="bigqty" type="java.lang.Float"
	 */
	public float getBigqty() {
		return bigqty;
	}

	public void setBigqty(float bigqty) {
		this.bigqty = bigqty;
	}

	/**
	 * 
	 * @return midqty
	 * @hibernate.property column="midqty" type="java.lang.Float"
	 */
	public float getMidqty() {
		return midqty;
	}

	public void setMidqty(float midqty) {
		this.midqty = midqty;
	}

	/**
	 * 
	 * @return newunit
	 * @hibernate.property column="newunit" type="java.lang.String"
	 */
	public String getNewunit() {
		return newunit;
	}

	public void setNewunit(String newunit) {
		this.newunit = newunit;
	}

	/**
	 * 
	 * @return smlqty
	 * @hibernate.property column="smlqty" type="java.lang.Float"
	 */
	public float getSmlqty() {
		return smlqty;
	}

	public void setSmlqty(float smlqty) {
		this.smlqty = smlqty;
	}

	/**
	 * 
	 * @return usenewunit
	 * @hibernate.property column="usenewunit" type="java.lang.Integer"
	 */
	public int getUsenewunit() {
		return usenewunit;
	}

	public void setUsenewunit(int usenewunit) {
		this.usenewunit = usenewunit;
	}

	/**
	 * 
	 * @return useshape
	 * @hibernate.property column="useshape" type="java.lang.Integer"
	 */
	public int getUseshape() {
		return useshape;
	}

	public void setUseshape(int useshape) {
		this.useshape = useshape;
	}

	/**
	 * 
	 * @return defaultSort
	 * @hibernate.property column="defaultsort" type="java.lang.Integer"
	 */
	public int getDefaultSort() {
		return defaultSort;
	}

	public void setDefaultSort(int defaultSort) {
		this.defaultSort = defaultSort;
	}
}
